package com.bungarus.cluster;

import java.util.List;

/**
 * Created by tang on 2019/1/4.
 */
public interface ClusterChangeListener extends ClusterListener{
    List<String> getClusterTags();
    default void onClusterNodeAdded(NodeInfo node){
        // Do nothing by default
    };
    default void onClusterNodeUpdated(NodeInfo node){
        // Do nothing by default
    };
    default void onClusterNodeRemoved(NodeInfo node){
        // Do nothing by default
    };
}
